package com.neuedu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author 王禹
 * @since 2025-08-07
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("ums_user")
public class UmsUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户姓名
     */
    private String name;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 电子信箱
     */
    private String email;

    /**
     * 0-女 1-男
     */
    private Byte sex;

    /**
     * 头像路径
     */
    private String icon;

    /**
     * 登录密码
     */
    private String password;

    /**
     * 状态
     */
    private Boolean active;
}
